package ooday01;
//学生类的测试类
public class StudentTest {
    public static void main(String[] args) {
        //创建一个学生对象
  //    数据类型 引用类型变量
        Student zs = new Student();
        zs.age = 18;
        zs.name = "张三";
        zs.address = "中国大陆";
        zs.sayHi();
        zs.study();
        Student ls = new Student();
        ls.name = "李四";
        ls.age = 22;
        ls.address = "中国边境";
        ls.study();
        ls.sayHi();
    }
}
